package com.itheima.zhuanhuan;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.nio.charset.Charset;

public class Test02 {

    public static void main(String[] args) throws IOException {

        BufferedReader reader = new BufferedReader(new FileReader("day13\\bbb.txt", Charset.forName("GBK")));

        String s;
        while((s=reader.readLine())!=null){
            System.out.println(s);
        }
        reader.close();

        //new FileWriter()


    }
}
